package com.imooc.passbook.constant;

/**
 * 优惠券的状态
 * Created by lzq on 2018/8/31
 */
public enum PassStatus {

    UNUSED(1,"未使用"),
    USED(2,"已使用"),
    ALL(3,"全部领取的")
    ;

    //状态码
    private Integer code;

    //优惠券的描述
    private  String desc;

    PassStatus(Integer code,String desc){
        this.code=code;
        this.desc=desc;
    }

    public String getDesc() {
        return desc;
    }

    public Integer getCode() {
        return code;
    }
}
